CI/CD Integrations
DevAssure O2 Agent is available through marketplace for CI/CD integrations, making it easier to add invisible, code-aware testing directly into pull request and pipeline workflows. O2 helps teams analyze code changes, identify impacted areas, and run targeted end-to-end tests inside the pipelines they already use.
- Faster onboarding: Add O2 using familiar CI/CD workflows instead of building custom integration layers.
- Targeted validation: Run tests based on code changes rather than broad static suites.
- Pipeline-native execution: Keep testing close to pull requests, commits, and releases.
- Higher release confidence: Catch regressions earlier in the development lifecycle.
Supported platforms
O2 Agent is designed for CI/CD-driven usage and can be positioned across multiple delivery platforms where automated validation is part of the release process.
- GitHub Actions for pull request validation, branch workflows, and release checks.
- GitLab pipelines for merge request testing and branch-based automation.
- CircleCI and other CI/CD tools for automated regression checks within existing build pipelines.
GitHub Actions
DevAssure Action is available through GitHub Marketplace at https://github.com/marketplace/actions/devassure-action. This is the most direct way to install O2 into GitHub-based development workflows.
Use the GitHub integration when you want to validate pull requests automatically, trigger targeted tests on repository events, and keep release checks inside standard GitHub Actions pipelines.
Example workflow
The following example shows how to wire O2 Agent into a GitHub Actions workflow for pull request validation. Replace placeholder values with the actual action name, token, and any project-specific inputs when final implementation details are available.
name: DevAssure O2 PR Validation
on:
pull_request:
branches:
- main
- develop
jobs:
o2-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install DevAssure CLI
run: npm install -g @devassure/cli
- name: Authenticate DevAssure
run: devassure add-token ${{ secrets.DEVASSURE_TOKEN }}
- name: Run code-aware tests
run: devassure test --head ${{ github.head_ref }} --base ${{ github.base_ref }} --archive=./reports
- name: Export JUnit report
run: devassure export-report --output-dir=./reports --last --format junit-xml
- name: Upload report artifacts
uses: actions/upload-artifact@v4
with:
name: devassure-reports
path: ./reports